-- GENERATED SPELL FOR [Fiend of Earth] --


function spell0_30043(pUnit, Event) --@Boulder,n/a--
pUnit:FullCastSpellOnTarget(55886,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30043', 2000, 1)
end

function Sorts_30043(pUnit, Event)
local choix_sorts_30043 = math.random(0, 0)
if choix_sorts_30043 == 0 then
pUnit:RegisterEvent('spell0_30043', 1, 1)
end
end

function mob30043_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30043', math.random(1500, 3000), 1)
end

function mob30043_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30043_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30043_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30043, 1, 'mob30043_Action')
RegisterUnitEvent(30043, 2, 'mob30043_Leave')
RegisterUnitEvent(30043, 3, 'mob30043_Kill')
RegisterUnitEvent(30043, 4, 'mob30043_Die')
